package v1

var (
	// common errors
	ErrSuccess             = newError(0, "ok")
	ErrBadRequest          = newError(400, "Bad Request")
	ErrUnauthorized        = newError(401, "Unauthorized")
	ErrNotFound            = newError(404, "Not Found")
	ErrInternalServerError = newError(500, "Internal Server Error")

	ErrAccountAlreadyUse      = newError(1001, "The account is already in use.")
	ErrAdminNotFound          = newError(1002, "用户未找到")
	ErrAdminAccountAlreadyUse = newError(1003, "账号已被使用")
	ErradminAccount           = newError(1004, "密码错误")
	ErrType                   = newError(1005, "用户类型错误")
	ErrPwd                    = newError(1006, "password error")
	ErrTypeNotfound           = newError(1007, "未查询到文章")
)
